<template>
	<div>
		<el-tabs v-model="params.tab" @tab-click="handleTabClick">
		    <el-tab-pane label="产品审核" name="0">
				<contentJoin />
		    </el-tab-pane>
			<el-tab-pane label="需求审核" name="1">
				<contentInitiate />
			</el-tab-pane>
		</el-tabs>
	</div>
</template>
<script>
	import contentInitiate from "./contentInitiate.vue";
	import contentJoin from "./contentJoin.vue";
	import {test} from "@/request/api/index"
	export default {
		components: {
			contentInitiate,
			contentJoin
		},
		data() {
			return {
				params:{
					tab:'0'
				}
			};
		},
		created() {
			// test().then(res=>{
			// 	console.log(res,'1111')
			// })

		},
		methods: {
			handleTabClick(tab) {
				
			},
		},
	};
</script>
<style lang="less" scoped>
	
</style>